package dao;

import entities.DocumentJdo;

import java.sql.Date;
import java.util.List;

public interface DocumentDAO {

    public void addDocument(DocumentJdo document);
    public void removeDocument(DocumentJdo document);
    public void updateUser(Long documentId, DocumentJdo document);
    public DocumentJdo getDocumentById(Long documentId);
    public List<DocumentJdo> getDocumentsByCompanyId(Long companyId);
    public List<DocumentJdo> getDocumentsByGroupId(Long groupId);
    public List<DocumentJdo> getDocumentsByDateRegistered(Date dateRegistered);
    public List<DocumentJdo> getDocumentsRegisteredInPeriod(Date startDate, Date endDate);
}
